<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>修改</title>
    <link href="./static/bootstrap/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>
<div class="container main">
    <h3>修改</h3>
    <form action="${pageContext.request.contextPath}/userUpdate" method="post">
        <input type="hidden" name="id" value="${user.id}">
        <div class="form-group">
            <label for="name">姓名：</label>
            <input type="text" class="form-control" id="name" name="name" value="${user.name}"
                   placeholder="请输入姓名"/>
        </div>
        <div class="form-group">
            <label for="username">用户名：</label>
            <input type="text" class="form-control" id="username" name="username" value="${user.username}"
                   placeholder="请输入姓名"/>
        </div>
        <div class="form-group">
            <label for="password">密码：</label>
            <input type="text" class="form-control" value="${user.password}" id="password" name="password"
                   placeholder="请输入密码"/>
        </div>
        <div class="form-group">
            <input class="btn btn-primary" type="submit" value="提交"/>
        </div>
    </form>
</div>

<script src="./static/bootstrap/js/bootstrap.bundle.min.js"></script>
</body>
</html>